/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.nViron.nvInfo;

/**
 *
 * @author Roland
 */
public class nvOrganic {

    private boolean isDegenerating;

    nvOrganic parent;
    nvOrganic children[];

    public nvOrganic() {
        isDegenerating = false;
    }

    public boolean isIsDegenerating() {
        return isDegenerating;
    }

    private void degenerate()
    {
        // recursivly
        for (int i=0; i<children.length; i++)
        {
            children[i].degenerate();
        }
    }

    protected void setSelection(boolean b) {
        // recursivly
        for (int i=0; i<children.length; i++)
        {
            children[i].setSelection(b);
        }
    }
    
}

